Skip to content
This repository has been archived by the owner on Mar 4, 2024. It is now read-only.

EVEREST-832 Fix access to namespaces #444

Merged
merged 6 commits into from
Feb 12, 2024

Conversation

recharte
Copy link
Collaborator

@recharte recharte commented Feb 12, 2024

EVEREST-832 Powered by Pull Request Badge

Fix access to namespaces

Problem:
EVEREST-832

DBCs and DBBs had access to all BackupStorages and MonitoringConfigs regardless of the namespace.

Cause:
We weren't validating if a given BackupStorage or MonitoringConfig was allowed in the DBC's namespace.

Solution:
Validate if a given BackupStorage or MonitoringConfig is allowed in the DBC's namespace.

CHECKLIST

Jira

  • Is the Jira ticket created and referenced properly?

Tests

  • Is an Integration test/test case added for the new feature/change?
  • Are unit tests added where appropriate?

@recharte recharte requested a review from a user February 12, 2024 15:27
api/validation.go Outdated Show resolved Hide resolved
api/validation.go Outdated Show resolved Hide resolved
api/validation.go Show resolved Hide resolved
@recharte recharte enabled auto-merge (squash) February 12, 2024 19:10
@recharte recharte merged commit d762746 into main Feb 12, 2024
6 checks passed
@recharte recharte deleted the EVEREST-832-fix-access-to-namespaces branch February 12, 2024 19:11
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants